<?php 
defined('IN_PHPCMS') or exit('Access Denied');
include admin_tpl('header');
?>
<body>
<form action="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>&module=<?=$module?>" method="post" name="myform">
<table cellpadding="0" cellspacing="1" class="table_form">
    <caption>添加类别</caption>
	<tr> 
      <th><strong>所属模型</strong></th>
      <td><?=$models?> </td>
    </tr>
	<tr> 
      <th><strong>类别名称</strong></th>
      <td><input type="text" name="info[name]" size="30"> <?=form::style('info[style]')?> <font color="red">*</font></td>
    </tr>
	<tr> 
      <th><strong>类别描述</strong></th>
      <td><textarea name="info[description]" rows="2" cols="20" id="description" class="inputtext" style="height:100px;width:300px;"></textarea></td>
    </tr>
	<tr> 
      <th><strong>类别模板</strong></th>
      <td><?=form::select_template('phpcms','info[template]', 'template', 'type', '', 'type')?></td>
    </tr>
    <tr> 
      <th></th>
      <td> 
	  <input type="hidden" name="forward" value="?mod=<?=$mod?>&file=<?=$file?>&action=manage&module=<?=$module?>"> 
	  <input type="submit" name="dosubmit" value=" 确定 "> 
      &nbsp; <input type="reset" name="reset" value=" 清除 ">
	  </td>
    </tr>
</table>
</form>
</body>
</html>